package com.zj.web.bean;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderMessageDTO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;
    private Double totalPrice;
    private Integer orderStatus;
    private String email;
}
